package com.zf.yichat.dto;

/**
 * 用户任务
 */
public class UserTasksInfoDto {

    // 未完成任务
    public static final Integer status_0 = 0;
    // 已完成任务未领取积分
    public static final Integer status_1 = 1;
    // 已完成任务已领取积分
    public static final Integer status_2 = 2;

    // 注册
    public class Register {
        private Integer integral;
        private Integer status;
        private String type;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public Integer getIntegral() {
            return integral;
        }

        public void setIntegral(Integer integral) {
            this.integral = integral;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }
    }
    // 实名认证
    public class RealName {
        private Integer integral;
        private Integer status;
        private String type;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public Integer getIntegral() {
            return integral;
        }

        public void setIntegral(Integer integral) {
            this.integral = integral;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }
    }

    // 绑卡
    public class BindCard{
        private Integer integral;
        private Integer status;
        private String type;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public Integer getIntegral() {
            return integral;
        }

        public void setIntegral(Integer integral) {
            this.integral = integral;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }
    }


    private Register register;
    private RealName realName;
    private BindCard bindCard;

    public void initRegister (Integer integral, Integer status) {
        this.register = new Register ();
        this.register.setIntegral (integral);
        this.register.setStatus (status);
    }

    public void initRealName (Integer integral, Integer status) {
        this.realName = new RealName ();
        this.realName.setIntegral (integral);
        this.realName.setStatus (status);
    }

    public void initBindCard (Integer integral, Integer status) {
        this.bindCard = new BindCard ();
        this.bindCard.setIntegral (integral);
        this.bindCard.setStatus (status);
    }

    public Register getRegister() {
        return register;
    }

    public void setRegister(Register register) {
        this.register = register;
    }

    public RealName getRealName() {
        return realName;
    }

    public void setRealName(RealName realName) {
        this.realName = realName;
    }

    public BindCard getBindCard() {
        return bindCard;
    }

    public void setBindCard(BindCard bindCard) {
        this.bindCard = bindCard;
    }
}
